<?php
/**
 *
 * PHP 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       app.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */

$cakeDescription = __d('cake_dev', 'nokengo.com');
?>
<!DOCTYPE html>
<html>
<head>
    <? if($lang=='en'){$description_fb = "We are a fully digital service online studio located in Rio de Janeiro, but it serves throughout Brazil. We provide creative solutions to bring their digital products and services to a wider audience.";}else{$lang="";$description_fb = "Somos um estúdio online de serviço digital completo situado no Rio de Janeiro, mas que atende todo o Brasil. Nós fornecemos soluções criativas digitais para levar seus produtos e serviços a um público mais amplo.";}?>
     <!-- ---------- FACEBOOK -------------- -->
    <meta property="fb:admins" content="100001966613237" />
    <meta property="og:site_name" content="Nokengo Brasil"/>
    <meta property="og:type" content="website" />
    <meta property="og:url" content="http://www.nokengo.com/<?=$lang;?>"/>
    <meta property="og:title" content="Nokengo Brasil" />
    <meta property="og:description" content="<?=$description_fb;?>" />
    <meta property="og:image" content="http://www.nokengo.com/img/_site/nokengo_fb.jpg" />
    <meta property="og:locale" content="en_US" />
    <!-- ---------- FACEBOOK -------------- -->

    
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php echo $cakeDescription ?>:
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $this->Html->meta('icon');

                echo $this->Html->css(array(
                        '_site/style',
                        '_site/bootstrap',
                    ));

                echo '<!-- Scripts -->';
                echo $this->Html->script(array(
                        '_site/jquery',
                        '_site/maskinput',
                        '_site/jquery.scrollTo-min',
                        '_site/jcarousellite_1.0.1',
                        '_site/bootstrap',
                    ));

		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script');
	?>
    
     <script>
    $(document).ready(function(){
       //alert('dsa');
       $('.menuItem').hover(function(){
           $('.macaco').hide();
           $('div[data-id="'+$(this).attr('data-id')+'"]').show();
            
           //alert($(this).prev().prev().prev().attr('class'));
       })
       $('.menuItem').mouseleave(function(){
           $('.macaco').hide();
           //$('div[data-id="'+$(this).attr('data-id')+'"]').show();
       })
    });  
    
    </script>
    
    <script type="text/javascript">
        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-39487829-1']);
        _gaq.push(['_trackPageview']);
        (function() {
          var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
          ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
          var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();
    </script>
    </head>
    <body>
	<?php echo $this->element('_site/header');?>
        <div class="wrapper">

        </div>
        <div class="content container fnd_home">
            <?php echo $this->fetch('content'); ?>
        </div>
    </body>
</html>